home *** CD-ROM | disk | FTP | other *** search
/ The Fatted Calf / The Fatted Calf.iso / Applications / Conversion / Convert_PICT / Testing / hex_tests / bitmap=91BW.hex < prev    next >
Text File  |  1992-11-28  |  2KB  |  62 lines

  1. % header
  2. 0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
  3. % end of app-specific header
  4. 00FF 0000 0000 00FF 00FF    % pict size (bogus) and top left bottom right
  5. 11 01                % verson
  6. 01 000A 0000 0000 00FF 00FF    % Clip region.  Added to keep Mac tester happy.
  7. 30 0000 0000 00FF 00FF        % draw bounding rect
  8.  
  9.  
  10. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  11. %
  12. %    This tests the 91 opcode with a small B&W image and simple region.
  13. %    This bitmap happens to be perfectly left justified in it's data.
  14. %    Region is the two rectangles with inner corners overlapping.
  15. %
  16. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  17.  
  18.  
  19. % Frame a rectangle that surrounds the bitmap's dest rectangle
  20. 30 0010 0020 0028 0039
  21.  
  22.  
  23. 91
  24. 0004            % rowbytes
  25. 0000 0050 0018 0070    % bounds  (t l b r)
  26. 0000 0050 0018 0069    % source rect
  27. 0010 0020 0028 0039    % dest rect
  28. 0005        % notSrcOr mode
  29. 002C 0010 0025 0028 0034    % region bounds (clip sides of bitmap)
  30.     0010 0025 0031 7FFF    % top of first rectangle
  31.     0017 0028 0034 7FFF    % top of second rectangle
  32.     0022 0025 0031 7FFF    % bottom of the first rectangle
  33.     0028 0028 0034 7FFF    % bottom of the second rectangle
  34.     7FFF
  35. 00 7F 00 00    % bit data (unpacked)
  36. 03 80 E0 00
  37. 06 00 30 00
  38. 08 00 08 00
  39. 10 00 04 00
  40. 20 00 02 00
  41. 60 00 03 00
  42. 40 00 01 00
  43. 40 00 81 00
  44. 80 03 80 80
  45. 83 00 00 80
  46. 80 00 00 80
  47. 80 00 00 80
  48. 80 00 30 80
  49. 80 00 20 80
  50. 40 00 21 00
  51. 40 00 C1 00
  52. 63 07 83 00
  53. 20 F8 02 00
  54. 10 00 04 00
  55. 08 00 08 00
  56. 06 00 30 00
  57. 03 80 E0 00
  58. 00 7F 00 00
  59.  
  60. FF    % end
  61.  
  62.